<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    
    {if condition="($row.id !== 1) && ($row.id !== 2)  && ($row.id !== 3)"}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">定价年限:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-name" class="form-control selectpicker" name="row[name]">
                {foreach name="yearList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.name"}selected{/in}>{$key}</option>
                {/foreach}
            </select>
        </div>
    </div>
    {/if}

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" class="form-control" step="0.01" name="row[price]" type="number" value="{$row.price|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
